<?php
class omepkg_finder_pkg_goods{
    var $column_control = '操作';
    var $column_control_width = "150";
    function column_control($row){
        $find_id = $_GET['_finder']['finder_id'];
        return '<a href="index.php?app=omepkg&ctl=admin_pkg&act=edit&p[0]='.$row['goods_id'].'&finder_id='.$find_id.'&_finder[finder_id]='.$find_id.'" target="_blank">编辑</a>';
    }
    
    function detail_basic($pkg_id){
        $render = app::get('omepkg')->render();
        $pkg_product = &app::get('omepkg')->model('pkg_product');
        $data = $pkg_product->getAllProduct($pkg_id);
        $render->pagedata['pkg_data'] = $data;
        return $render->fetch('admin/package/detail_basic.html');
    }
    
    
}
?>
